package cac.fenjian.resource.WmsReturnApply.dto;

import cac.fenjian.resource.MdsItem.dto.MdsItemDTO;
import cac.fenjian.resource.WmsDeliverPlan.dto.WmsDeliverPlanDTO;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class WmsReturnApplyDTO {
    //序号
    private int rn;
    /*主键*/
    private String  wmsReturnApplyId;
    /*交接单表id*/
    private String wmsDeliveryPlanId;
    /*退库类型:1-无故障退库;2-执行质量通知单退库;3-故障单退库*/
    private String returnType;
    /*退库状态:1-编辑中;2-待接收;3-待确认;4-保管待接收;5-已驳回;6-结束;7-删除*/
    private String returnStatus;
    /*退库数量*/
    private String returnQty;
    /*退库申请人工号*/
    private String applyEmpCode;
    /*退库申请时间*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM-8")
    private Date applyDate;
    /*退库移交分厂*/
    private String returnDeliveryShop;
    /*退库接收分厂*/
    private String returnReceiveShop;
    /*责任单位分厂*/
    private String respShop;
    /*退库依据*/
    private String accordingNo;
    /*故障现象*/
    private String failureDesc;
    /*实物外观状态*/
    private String appearanceStatus;
    /*实物配套状态*/
    private String equipStatus;
    /*油封期*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM-8")
    private Date sealDate;
    /*最长保管期*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM-8")
    private Date maxStorageDate;
    /*确认人工号*/
    private String confirmEmpCode;
    /*确认时间*/
    private Date confirmDate;
    /*移交人工号*/
    private String deliveryEmpCode;
    /*移交时间*/
    private Date deliveryDate;
    /*接收人工号*/
    private String receiveEmpCode;
    /*接收时间*/
    private Date receiveDate;
    /*驳回人工号*/
    private String rejectEmpCode;
    /*驳回原因*/
    private String rejectReason;
    /*驳回时间*/
    private Date rejectDate;
    /*退库单号*/
    private String billNo;
    /*退库移交部门编码*/
    private String returnDeliveryOrgCode;
    /*退库接收部门编码*/
    private String returnReceiveOrgCode;
    /*来源类型1-专业厂交接退库;2-erp交接退库*/
    private String sourceType;
    /*申请部门编码*/
    private String applyOrgCode;
    /*申请分厂*/
    private String applyShop;
    /*申请类型1-原接收单位发起;2-原移交单位发起*/
    private String applyType;
    /*物料编码*/
    private String itemCode;
    /*故障单号*/
    private String troubleNo;
    /*是否为rfv发送*/
    private String isRfvCreate;
    /*机型编码*/
    private String productCode;
    /*批次号*/
    private String batchNo;
    /*起始架次*/
    private String startLotNo;
    /*截止架次*/
    private String endLotNo;
    /*质量编号*/
    private String qualityCode;
    /*台账id*/
    private String wmsItemInventoryId;
    /*是否同步成本系统*/
    private String isSynCb;
    /*成本系统业务处理时间*/
    private Date cbYwDate;
    /*合格证号*/
    private String mesCheckQualiticationId;
    /*是否按原分工生成返修计划*/
    private String ynWorkLineFlag;
    /*创建人*/
    private String createdBy;
    /*创建时间*/
    private Date creationDate;
    /*最后修改人*/
    private String lastUpdatedBy;
    /*最后修改时间*/
    private Date lastUpdateDate;
    /*最后更新ip*/
    private String lastUpdateIp;
    /*备注*/
    private String remark;
    //未退库数量
    private String notReturnQty;
    //mds_item结果集
    private List<MdsItemDTO> mdsItemDTOList;
    //交接单结果集
    private List<WmsDeliverPlanDTO> wmsDeliverPlanDTOList;
    public int getRn() {
        return rn;
    }

    public void setRn(int rn) {
        this.rn = rn;
    }

    public String getWmsReturnApplyId() {
        return wmsReturnApplyId;
    }

    public void setWmsReturnApplyId(String wmsReturnApplyId) {
        this.wmsReturnApplyId = wmsReturnApplyId;
    }

    public String getWmsDeliveryPlanId() {
        return wmsDeliveryPlanId;
    }

    public void setWmsDeliveryPlanId(String wmsDeliveryPlanId) {
        this.wmsDeliveryPlanId = wmsDeliveryPlanId;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public String getReturnStatus() {
        return returnStatus;
    }

    public void setReturnStatus(String returnStatus) {
        this.returnStatus = returnStatus;
    }

    public String getReturnQty() {
        return returnQty;
    }

    public void setReturnQty(String returnQty) {
        this.returnQty = returnQty;
    }

    public String getApplyEmpCode() {
        return applyEmpCode;
    }

    public void setApplyEmpCode(String applyEmpCode) {
        this.applyEmpCode = applyEmpCode;
    }

    public Date getApplyDate() {
        return applyDate;
    }

    public void setApplyDate(Date applyDate) {
        this.applyDate = applyDate;
    }

    public String getReturnDeliveryShop() {
        return returnDeliveryShop;
    }

    public void setReturnDeliveryShop(String returnDeliveryShop) {
        this.returnDeliveryShop = returnDeliveryShop;
    }

    public String getReturnReceiveShop() {
        return returnReceiveShop;
    }

    public void setReturnReceiveShop(String returnReceiveShop) {
        this.returnReceiveShop = returnReceiveShop;
    }

    public String getRespShop() {
        return respShop;
    }

    public void setRespShop(String respShop) {
        this.respShop = respShop;
    }

    public String getAccordingNo() {
        return accordingNo;
    }

    public void setAccordingNo(String accordingNo) {
        this.accordingNo = accordingNo;
    }

    public String getFailureDesc() {
        return failureDesc;
    }

    public void setFailureDesc(String failureDesc) {
        this.failureDesc = failureDesc;
    }

    public String getAppearanceStatus() {
        return appearanceStatus;
    }

    public void setAppearanceStatus(String appearanceStatus) {
        this.appearanceStatus = appearanceStatus;
    }

    public String getEquipStatus() {
        return equipStatus;
    }

    public void setEquipStatus(String equipStatus) {
        this.equipStatus = equipStatus;
    }

    public Date getSealDate() {
        return sealDate;
    }

    public void setSealDate(Date sealDate) {
        this.sealDate = sealDate;
    }

    public Date getMaxStorageDate() {
        return maxStorageDate;
    }

    public void setMaxStorageDate(Date maxStorageDate) {
        this.maxStorageDate = maxStorageDate;
    }

    public String getConfirmEmpCode() {
        return confirmEmpCode;
    }

    public void setConfirmEmpCode(String confirmEmpCode) {
        this.confirmEmpCode = confirmEmpCode;
    }

    public Date getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(Date confirmDate) {
        this.confirmDate = confirmDate;
    }

    public String getDeliveryEmpCode() {
        return deliveryEmpCode;
    }

    public void setDeliveryEmpCode(String deliveryEmpCode) {
        this.deliveryEmpCode = deliveryEmpCode;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public String getReceiveEmpCode() {
        return receiveEmpCode;
    }

    public void setReceiveEmpCode(String receiveEmpCode) {
        this.receiveEmpCode = receiveEmpCode;
    }

    public Date getReceiveDate() {
        return receiveDate;
    }

    public void setReceiveDate(Date receiveDate) {
        this.receiveDate = receiveDate;
    }

    public String getRejectEmpCode() {
        return rejectEmpCode;
    }

    public void setRejectEmpCode(String rejectEmpCode) {
        this.rejectEmpCode = rejectEmpCode;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public Date getRejectDate() {
        return rejectDate;
    }

    public void setRejectDate(Date rejectDate) {
        this.rejectDate = rejectDate;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getReturnDeliveryOrgCode() {
        return returnDeliveryOrgCode;
    }

    public void setReturnDeliveryOrgCode(String returnDeliveryOrgCode) {
        this.returnDeliveryOrgCode = returnDeliveryOrgCode;
    }

    public String getReturnReceiveOrgCode() {
        return returnReceiveOrgCode;
    }

    public void setReturnReceiveOrgCode(String returnReceiveOrgCode) {
        this.returnReceiveOrgCode = returnReceiveOrgCode;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getApplyOrgCode() {
        return applyOrgCode;
    }

    public void setApplyOrgCode(String applyOrgCode) {
        this.applyOrgCode = applyOrgCode;
    }

    public String getApplyShop() {
        return applyShop;
    }

    public void setApplyShop(String applyShop) {
        this.applyShop = applyShop;
    }

    public String getApplyType() {
        return applyType;
    }

    public void setApplyType(String applyType) {
        this.applyType = applyType;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode;
    }

    public String getTroubleNo() {
        return troubleNo;
    }

    public void setTroubleNo(String troubleNo) {
        this.troubleNo = troubleNo;
    }

    public String getIsRfvCreate() {
        return isRfvCreate;
    }

    public void setIsRfvCreate(String isRfvCreate) {
        this.isRfvCreate = isRfvCreate;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getStartLotNo() {
        return startLotNo;
    }

    public void setStartLotNo(String startLotNo) {
        this.startLotNo = startLotNo;
    }

    public String getEndLotNo() {
        return endLotNo;
    }

    public void setEndLotNo(String endLotNo) {
        this.endLotNo = endLotNo;
    }

    public String getQualityCode() {
        return qualityCode;
    }

    public void setQualityCode(String qualityCode) {
        this.qualityCode = qualityCode;
    }

    public String getWmsItemInventoryId() {
        return wmsItemInventoryId;
    }

    public void setWmsItemInventoryId(String wmsItemInventoryId) {
        this.wmsItemInventoryId = wmsItemInventoryId;
    }

    public String getIsSynCb() {
        return isSynCb;
    }

    public void setIsSynCb(String isSynCb) {
        this.isSynCb = isSynCb;
    }

    public Date getCbYwDate() {
        return cbYwDate;
    }

    public void setCbYwDate(Date cbYwDate) {
        this.cbYwDate = cbYwDate;
    }

    public String getMesCheckQualiticationId() {
        return mesCheckQualiticationId;
    }

    public void setMesCheckQualiticationId(String mesCheckQualiticationId) {
        this.mesCheckQualiticationId = mesCheckQualiticationId;
    }

    public String getYnWorkLineFlag() {
        return ynWorkLineFlag;
    }

    public void setYnWorkLineFlag(String ynWorkLineFlag) {
        this.ynWorkLineFlag = ynWorkLineFlag;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getLastUpdateIp() {
        return lastUpdateIp;
    }

    public void setLastUpdateIp(String lastUpdateIp) {
        this.lastUpdateIp = lastUpdateIp;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<MdsItemDTO> getMdsItemDTOList() {
        return mdsItemDTOList;
    }

    public void setMdsItemDTOList(List<MdsItemDTO> mdsItemDTOList) {
        this.mdsItemDTOList = mdsItemDTOList;
    }

    public List<WmsDeliverPlanDTO> getWmsDeliverPlanDTOList() {
        return wmsDeliverPlanDTOList;
    }

    public void setWmsDeliverPlanDTOList(List<WmsDeliverPlanDTO> wmsDeliverPlanDTOList) {
        this.wmsDeliverPlanDTOList = wmsDeliverPlanDTOList;
    }

    public String getNotReturnQty() {
        return notReturnQty;
    }

    public void setNotReturnQty(String notReturnQty) {
        this.notReturnQty = notReturnQty;
    }
}
